import React, { FC, useEffect } from 'react';
import mock_init from '@/config/Mock/index';
import axios from 'axios';
mock_init();

const Demo_mockjs: FC = () => {
  useEffect(() => {
    axios.get('/mock/usermsg').then((ret) => {
      console.log(ret);
    });
  }, []);

  return <div>123</div>;
};

export default Demo_mockjs;
